/*
 * @Author: caihongtai caihongtai
 * @Date: 2025-02-13 14:50:58
 * @LastEditors: caihongtai caihongtai
 * @LastEditTime: 2025-02-13 15:03:00
 * @FilePath: /ai-interview-vue/src/utils/message.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export const getMessageBox = (title, message) => {
    return new Promise((resolve, reject) => {
        Dialog.confirm({
            title: title,
            message: message,
        })
            .then(() => {
                resolve(true)
            })
            .catch(() => {
                // on cancel
                reject()
            });
    })

}